package net.deiangi.graphs.core;

public class Edge {
    public int fi;
    public int ti;
    public int w;
    public String note;
    public boolean selected;

    Edge(int fi, int ti, int w) {
        this.fi = fi;
        this.ti = ti;
        this.w = w;
    }

    @Override
    public String toString() {
        return String.format("%s->%s(%d)", fi, ti, w);
    }
}
